#ifndef _WX_HTMLPREP_H_
#define _WX_HTMLPREP_H_

#include "wx/defs.h"
#include "wx/string.h"

enum {
  wxHTML_PRIORITY_DONTCARE = 128,
  wxHTML_PRIORITY_SYSTEM   = 256
};

class wxHtmlProcessor : public wxObject {
    DECLARE_ABSTRACT_CLASS( wxHtmlProcessor )
  public:
    wxHtmlProcessor() : wxObject(), m_enabled( true ) {}
    virtual ~wxHtmlProcessor() {}
    virtual wxString Process( const wxString& text ) const = 0;
    virtual int GetPriority() const { return wxHTML_PRIORITY_DONTCARE; }
    virtual void Enable( bool enable = true ) { m_enabled = enable; }
    bool IsEnabled() const { return m_enabled; }
  protected:
    bool m_enabled;
};

#endif
